<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
    	<meta name="format-detection" content="telephone=no">
		<title>分享转发</title>
		<script type="text/javascript" src="../js/jquery.min.js" ></script>
		<link rel="stylesheet" href="../css/app-h5-common.css" />
	</head>
	<style type="text/css">
		html{
				font-size: 100px;
				height: 100%;
				background-color: #EEEEEE;
			}
		body{
			background-color: #eeeeee;
			height: 100%;
			font-size: 0.15rem;
		}
		.top{
			 position: relative;
		}
		.center{
			  text-align: center;
		}
		.tips{
			position: absolute;
			left: 0;
			right: 0;
			top: 10%;
			font-size: 0.16rem;
			color: white;
		}
		.data{
			margin: 0.5rem;
		}
		.data .center .money{
			font-size: 0.35rem;
		}
		.success ,.fail{
			font-size: 0.15rem;
		}
		.moneyMount{
			margin-bottom: 0.2rem;
		}
		.count{
			color: #969696;
		}
		.total{
			color: #ff5033;
		}
		.data p{
			margin-top: 0.2rem;
		}
		#button{
			width: 86%;
			height: 0.4rem;
			font-size: 0.16rem;
			background-color: #f45440;
			text-align: center;
			line-height: 0.4rem;
			margin: 0 auto 0.3rem auto;
			color: white;
			border-radius: 0.06rem;
		}
		
	</style>
	<body>
		<div class="top center">
			<svg xmlns="http://www.w3.org/2000/svg" width="100%"  viewBox="0 0 300 120.552">
				<path fill="#EA644D" d="M212.883 70.652c-34.63 16.195-90.78 16.195-125.412 0L-.585 29.506V0H299.92v29.98l-87.037 40.67v.002z"></path><circle fill="#FFB81F" cx="150.208" cy="79.359" r="41.193"></circle><path fill="#FFF" d="M179.355 60.06a35.05 35.05 0 0 0-3.736-4.704l-4.25 8.688a2.763 2.763 0 0 1-3.71 1.27 2.76 2.76 0 0 1-1.276-3.69l.01-.02 4.94-10.1a28.35 28.35 0 0 0-5.186-3.182l-5.217 13.024a2.766 2.766 0 0 1-3.407 1.61.978.978 0 0 1-.267-.067 2.778 2.778 0 0 1-1.01-.705 2.4 2.4 0 0 1-.662-1.262 2.83 2.83 0 0 1 .13-1.643l5.206-13c-2.022-.67-3.717-1.195-5.924-1.47l-3.43 10.864a2.77 2.77 0 0 1-3.472 1.813c-.002-.002-.004-.002-.007-.002a2.784 2.784 0 0 1-1.812-3.48l1.81-5.706 1.143-3.897c-1.857.055-3.686.25-5.458.577-16.227 3.024-28.52 17.26-28.52 34.37 0 13.846 8.052 25.814 19.724 31.48a34.88 34.88 0 0 0 15.234 3.478c.257 0 .52 0 .783-.01 18.94-.423 34.165-15.905 34.165-34.948a34.79 34.79 0 0 0-5.807-19.294h.004l.003.005zm-35.36.055l24.167 9.89s-2.872 9.498-7.184 12.66c-5.397 3.95-12.25.43-12.25.43s-8.298-3.722-8.374-9.27c-.07-4.452 3.64-13.71 3.64-13.71zm12.952 26.82c-.094.25-.7 2.247-2.48 5.2-2.035 3.373-5.163 4.87-7.517 4.4-1.196-.244-1.89-1.127-1.78-2.336.087-.845.62-3.105 3.38-5.054 2.304-1.63 6.558-2.4 8.07-2.613.43-.06.41.153.327.403zM121 79.356c0-13.15 8.684-24.273 20.635-27.938l-3.563 10.724-11.436 34.47A29.107 29.107 0 0 1 121 79.356zm16.394 25.537s-.05.048-.155.104c-.383.217-1.473 1.18-3.35-.35a4.744 4.744 0 0 1-1.358-1.794c-.93-2.053-.607-4.63-.16-6.08.59-1.936 2.384-7.26 2.876-6.37 0 0 1.058 1.55 3.1 5.116 2.038 3.565 1.374 7.58-.956 9.374h.002zm.744-19.54c.775-3.363 1.732-5.222 1.847-5.46.107-.243.24-.405.505-.065.94 1.213 3.452 4.73 3.97 7.502.62 3.323-.563 5.312-1.095 5.976-.753.952-1.87 1.102-2.898.438-2.015-1.3-3.21-4.56-2.33-8.392zm15.27 12.07c-.33 1.043-1.514 4.04-3.573 7.447-2.773 4.58-6.305 4.25-7.842 3.61-.815-.346-1.4-1.1-1.56-1.656-.292-1.037.243-2.676 1.246-4.082 1.67-2.352 3.582-3.13 4.79-3.633a42.272 42.272 0 0 1 6.53-2.137c.39-.097.56-.056.407.45zm.727 10.885L176.21 66.04a29.073 29.073 0 0 1 3.197 13.312c0 14.8-10.998 27.034-25.272 28.955zm-7.44-35.464a1.038 1.038 0 0 0-.97-.66 1.06 1.06 0 0 0-1.056 1.05c0 .17.05.333.14.493a.27.27 0 0 0 .027.09c.094.148 2.29 3.65 5.123 5.036 1.03.504 2.463.76 4.26.76a23.788 23.788 0 0 0 4.04-.363c.018-.007.03-.015.047-.02a1.05 1.05 0 0 0 .89-1.028 1.06 1.06 0 0 0-1.062-1.057c-.097 0-.186.026-.256.045h-.017a21.165 21.165 0 0 1-3.65.333c-1.475 0-2.59-.188-3.33-.55-2.02-.99-3.816-3.577-4.188-4.13v-.002.003zm-1.002-4.476c.172 0 .337-.04.496-.14a.16.16 0 0 0 .105-.04c.004-.007.806-.667 1.665-.667.184 0 .36.035.524.097.943.355.962 1.42.965 1.43 0 .048.02.09.052.12.097.476.515.816 1 .82a1.026 1.026 0 0 0 1.006-.844.165.165 0 0 0 .033-.106v-.094c0-.024 0-.047-.006-.063-.05-.564-.35-2.47-2.304-3.22a3.543 3.543 0 0 0-1.268-.23c-1.196 0-2.21.583-2.72.937-.367.174-.6.54-.604.947.002.58.47 1.053 1.053 1.053h.003zm12.065 4.586c.233-.004.46-.086.64-.233a.344.344 0 0 0 .07-.035c.017-.02.476-.413 1.085-.413.223.004.44.053.643.146.77.38.765 1.074.73 1.275v.05c0 .017-.004.038-.004.06a1.05 1.05 0 0 0 1.045 1.05c.45 0 .848-.297.977-.728.027-.023.053-.06.053-.096.134-.827-.087-2.622-1.896-3.49a3.442 3.442 0 0 0-1.536-.36c-1.457 0-2.504.96-2.512.962a1.047 1.047 0 0 0 .71 1.815l-.004-.004z"></path>
			</svg>
			<div class="tips">恭喜完成任务</div>
        </div>
        <div class="data">
        	<p class="center moneyMount"><span class="money">1.00</span>元</p>
        	
        	
        	
        </div>
        <div id="button">
        	领取更多奖励
        </div>
	</body>
	<script type="text/javascript">
		
		
		function hasDone(a){
			var successString='<div class="success center"><p class="count">奖励已存入&nbsp;<span>123****1234</span></p><p class="total">累计收入<span>88.88</span></p></div>'
			if (a==0) {//成功完成任务
				$(".tips").text("恭喜完成任务！");

				$(".data").append(successString);
				

			} else if(a==1){//已经做过任务
				$(".tips").text("已经做过了，去领取别的奖励吧~");

				$(".data").append(successString);
			}else{//出错
				$(".tips").text("哎呀我去，失败啦，返回重做");
				var errString='<p class="total">累计收入<span>88.88</span></p>'
				$(".data").append(successString);
				$("#button").text("返回小麦APP")
			}
		};
		
		hasDone(2);
		
	</script>
</html>
